package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SmartModule implements Trans<SmartModule, CompleteEntity.SmartModule> {

    /**
     * 模组基础信息
     */
    private SmartModuleBaseInfo baseInfo;

    /**
     * 监控数据
     */
    private MonitoringData monitoringData;

    /**
     * 程序版本和校验信息
     */
    private ProgramVersionAndCRC versionAndCRC;

    /**
     * 状态信息
     */
    private SmartModuleStatusInfo statusInfo;

}

